Expand description
The Rust-based BPF program entrypoint supported by the latest BPF loader.
For more information see the bpf_loader
module.
Macros§
- Print a message to the log.
- Define the default global allocator.
- Define the default global panic handler.
- Declare the program entrypoint and set up global handlers.
- Declare the program entrypoint and set up global handlers.
Structs§
- The bump allocator used as the default rust heap when running programs.
Constants§
assert_eq(std::mem::align_of::<u128>(), 8)
is true for BPF but not for some host machines- Length of the heap memory region used for program heap.
- Start address of the memory region used for program heap.
- Maximum number of bytes a program may add to an account during a single realloc
- Value used to indicate that a serialized account is not a duplicate
- Programs indicate success with a return value of 0
Functions§
- Deserialize the input arguments
- Deserialize the input arguments
Type Aliases§
- User implemented function to process an instruction